package com.itheima.travel.dao;

import com.itheima.travel.domain.Address;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddressDao {

    @Select("select * from tab_address where uid=#{uid}")
    List<Address> findByUid(Integer uid);

    @Select("select * from tab_address where aid=#{aid}")
    Address findByAid(Integer aid);
}
